from django.urls import path
from apps.order_from import views


app_name = 'order_from'

urlpatterns = [
    #我的订单
    path('udai_order/', views.Udai_order.as_view(), name='udai_order'),
    #我的收藏
    path('udai_collection/<pindex>', views.Udai_collection.as_view(), name='udia_collection'),
    #分页显示
    # path("udai_order/<pindex>", views.order_page_show, name="order_page_show"),
    #订单支付页面
    path('pay_page/<id>',views.Pay_page.as_view(),name='pay_page'),
    #订单收货接口页面
    path('order_receipted/<id>',views.Udai_order_receipted.as_view(), name='order_receipted'),
    #订单退货退款接口
    path('order_apply_return/<id>',views.Udai_apply_return.as_view(), name='order_apply_return'),
    #订单取消
    path('delete_order/<id>', views.delete_order, name='delete_order'),
    #立即收藏
    path('collection_goods/<id>', views.collection_goods, name='collection_goods'),
    #取消收藏
    path('delete_collection/<id>', views.delete_collection, name='delete_collection'),
    #取消订单展示页面
    path('udai_refund/', views.Udai_show_refund.as_view(), name='udai_refund'),
]